package com.m3958.firstgwt.client.place;

import com.m3958.firstgwt.client.MyPlace;
import com.m3958.firstgwt.client.types.ViewNameEnum;

public class LinkTreePlace extends MyPlace{
	
	private String siteId;
	
	public LinkTreePlace(String siteId){
		this.siteId = siteId;
	}

	@Override
	public String getToken() {
		return ViewNameEnum.LINK.toString().toLowerCase() + "/" + siteId;
	}

	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}

	public String getSiteId() {
		return siteId;
	}

}
